﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataBase
{
    [Table("Gateway")]
    public class Gateway
    {
        /// <summary>
        /// 主键，自动递增
        /// </summary>
        [Key]
        [Column("Id")]
        public int Id { get; set; }

        /// <summary>
        /// 区域名称
        /// </summary>

        [Column("Name")]
        public string Name { get; set; }


        [Column("IPSite")]
        public string? IPSite { get; set; }

        [Column("Port")]
        public int? Port { get; set; }

        [Column("IPId")]
        public string? IPId { get; set; }

        

    }
}
